Hello,
We've just started using DOORS quite extensively in our project and I need to create some new modules based on previous modules.
In the new module there will be some requirements which are the same as ones from the previous module and some new ones. All of the requirements have a unique ID assigned by our customer (hence not the DOORS id) and this is an attribute in the old module.
So, my plan is to use "link by attribute" in order to connect the requirements together. As in I add an attribute to the new module which is the same ID from the customer. Then with link by attribute DOORS would look up the previous module, create a link to the matching requirement and then also import the text from the previous module.
Unfortunately as of yet I haven't been able to find any way to get the "link by attribute" to work, it seems to only let me define an attribute on one side of the link, not both.
And also, I haven't been able to get it to let me copy the text across a normal link.
Any help/assistance or guidance would be greatly appreciated.
Cheers,
Andrew.
SystemAdmin - Thu Apr 16 12:18:48 EDT 2009 |
|
Re: Link by Attribute SystemAdmin - Thu Apr 16 14:11:51 EDT 2009
If you have not yet created the new modules, look at DOORS Copy Objects (Tools / Functions / Copy Objects) tool to copy objects from the old modules to new ones - you can simultaneously create attributes and links as you copy objects.
If the new modules are created and in use, look for a script in DXL Library (module menus Tools / DXL Library), select "Some example programs.." and then use the script "Example to link objects using a foreign key" - it allows you to use any attributes to store the identifying values instead of just Absolute Number as required by the Link by Attribute tool.
|
|
Re: Link by Attribute roybond - Fri Apr 17 06:31:47 EDT 2009
Andrew,
I have written an advanced version of the Link By Attribute tool which allows you to select Attributes in both the current and a Target Formal Module, and link through a given Link Module.
It also allows you to link Objects which contain dissimilar entries in given attributes, but can be linked through a Cross Reference List, eg Attribute A = 'X', Attribute B = 'Y' and Cross Reference List = "X, Y" (if that makes sense).
Find the DXL attached.
Roy.
roy.bond@baesystems.com
Attachments
attachment_14241924_Advanced_Link_By_Attribute.dxl
|
|
Re: Link by Attribute Miamc - Fri Apr 17 09:05:56 EDT 2009
Without knowing your specific situation I probably shouldn't comment, but I can't help saying: Avoid redundancy at all costs. If there's any chance of changes to these requirements, you're creating maintenance overhead by duplicating them.
|
|
Re: Link by Attribute jhaury - Mon Sep 26 20:19:43 EDT 2011
Hi There,
I came across your post and thought you might be interested in a toolkit our company uses to handle updating links. Instead of running Link by Attribute over and over again, we use SnapDOORS (snapdoors.com) and have set up their Melba tool to refresh links for various programs in our company at one time. Maybe it will help your situation?
Jason
|
|